﻿using Microsoft.Reporting.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ParserColumnasDescripcionMarca
{
    public partial class ReportShower : Form
    {
        string _products;

        public ReportShower(string products)
        {
            InitializeComponent();

            _products = products;
        }

        private void ReportShower_Load(object sender, EventArgs e)
        {
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter("ProductsParameter", _products));
            this.reportViewer1.RefreshReport();
        }
    }
}
